package com.member.shop.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.member.common.annotation.Excel;
import com.member.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * 抽奖活动奖品对应关系对象 sys_biz_raffle_activity_prize
 *
 * @author thomas
 * @date 2024-03-19
 */
@Data
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_biz_raffle_activity_prize")
public class SysBizRaffleActivityPrize extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 活动表id
     */
    @Excel(name = "活动表id")
    private Long activityId;

    /**
     * 奖品表id
     */
    @Excel(name = "奖品表id")
    private Long prizeId;

    /**
     * 概率模式(概率值)
     */
    @Excel(name = "概率模式(概率值)")
    private String prizeProbability;

    /**
     * 趋于用户(数组：第几次抽奖用户中奖)
     */
    @Excel(name = "趋于用户(数组：第几次抽奖用户中奖)")
    private String tendUserWinNum;

    /**
     * 管控模式(数组：中奖用户)
     */
    @Excel(name = "管控模式(数组：中奖用户)")
    private String raffleWinUser;

    /**
     * 奖品数量
     */
    @Excel(name = "奖品数量")
    private Long prizeAmount;

    /**
     * 是否删除(0：未删除，1：删除)
     */
    @Excel(name = "是否删除(0：未删除，1：删除)")
    private Integer deleted;

}
